package org.domon.manager.sys.mapper.pojo;

import org.domon.manager.base.mybatis.MyBatisSupportPojo;
import org.domon.manager.base.mybatis.annotation.Column;
import org.domon.manager.base.mybatis.annotation.Table;

/**
 * 菜单表pojo
 * 
 * @author Domon
 * 
 */
@Table("SYS_MENU")
public class TSysMenu extends MyBatisSupportPojo {

	@Column("MENU_NAME")
	private String menuName;

	@Column("TYPE")
	private String type;

	@Column("URL")
	private String url;

	@Column("PARENT_ID")
	private int parentId;

	@Column("SORT")
	private int sort;

	@Column("ICON")
	private String icon;

	@Column("REMARK")
	private String remark;

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public TSysMenu() {
		super();
	}
	
	public TSysMenu(int menuId) {
		super();
		super.setId(menuId);
	}
}
